<script>

    let isDark = false;
    let opened = false;

    function toggleTheme() {
        isDark = !isDark;
    }
    function toggleOpened() {
        opened = !opened;
    }
</script>

<div>
    hello world
</div>